package com.main;

import com.utils.http.HttpUtils;

/**
 * 测试类
 */
public class Main {
    public static void main(String[] args) {
        Boolean flag = HttpUtils.downloadFile("https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=325819049,545561019&fm=58", "/Users/rain/Downloads", "mp4");
        System.out.println(flag ? "成功" : "失败");
    }
}
